package community.hospital.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author yindingjie
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Schedule implements Serializable {

    private static final long serialVersionUID = -6320179258322570015L;

    @TableId
    private Long id;
    private Long hospitalId;
    private Long department1Id;

    private Long department2Id;

    private Long doctorId;

    private Integer year;

    private Integer month;

    private Integer day;

    private Integer scheduleCode;

    private Date gmtCreate;

    private Date gmtModifies;

    private Integer state;

}
